package com.quwan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quwan.entity.TMemberVip;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
*
*
* @author quan
* @date 2021-11-04 10:11
*/
 

public interface TMemberVipMapper extends BaseMapper<TMemberVip> {
    @Select("select " +
            "m_id,max(end_time) end_time FROM t_member_vip where m_id in (${ids})group by m_id")
    List<TMemberVip> selectMemberVipEndTime(String ids);
}